package com.linkcard.user.manager;

import java.util.List;

import com.linkcard.commen.tools.Page;
import com.linkcard.user.model.Ad;
import com.linkcard.user.model.WebsiteColumns;
import com.linkcard.user.model.WebsiteConfiger;

public interface WebsiteConfigerManager {

	//配置网站
	 boolean configWebsite(WebsiteConfiger configer,String path);
	 //添加栏目
	boolean addWebsiteColumn(WebsiteColumns websiteColumns);
	//获得网站列表
	List websiteColumnList(Page pageObj);
	//添加网站栏目
	boolean modifyWebsiteColumn(WebsiteColumns websiteColumns);
	//获得网站配置
	WebsiteConfiger websiteConfig(String path);
	//获得栏目
	WebsiteColumns findWebsiteColumn(Integer id);
	//添加广告图片
	boolean adAd(Ad ad, String path);
	//广告图片
	List adList(String path);
	//删除Ad
	boolean deleteAd(int id, String path);
	//修改Ad
	boolean modifyAd(Ad ad, String path);
	//删除栏目
	boolean deleteColumns(Integer id);
}
